// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

// js
import Fastclick from 'fastclick'
Fastclick.attach(document.body);


// css
import 'css/reset.css'
import 'css/iconfont.css'

// swiper组件
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/swiper.min.css'
Vue.use(VueAwesomeSwiper)

// axios
import axios from 'axios'
Vue.prototype.$http = axios

// Vuex
import store from './store'

Vue.config.productionTip = false


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
